package com.dkm.ec.home.persistence.entity;
import org.apache.commons.lang.builder.ToStringBuilder;

import com.dkm.base.api.annotion.IField;
import com.dkm.base.api.annotion.ITable;
import com.dkm.ec.product.persistence.entity.ProductEntityTbl;

/**
 * 对象功能:家居产品 Tbl对象
 * 开发公司:SKG.COM
 * 开发人员:刘启辉
 * 创建时间:2015-01-16 15:01:30
 */
 @ITable(name="homeEntity",code="skg_home_entity")
public class HomeEntityTbl extends ProductEntityTbl{
	@IField(name="homeId",column="home_id_")
	protected String  homeId; 		/*家居产品 ID*/
	@IField(name="homeType",column="home_type_")
	protected String  homeType; 		/*家居产品子类型。whole=全套户型；scene=场景*/
	@IField(name="price",column="price_")
	protected Double  price; 		/*价格*/
	@IField(name="area",column="area_")
	protected Double  area; 		/*面积*/
	@IField(name="areaRange",column="area_range_")
	protected String  areaRange; 		/*面积范围*/
	@IField(name="itemCount",column="item_count_")
	protected Integer  itemCount; 		/*件数*/
	@IField(name="unit",column="unit_")
	protected String  unit; 		/*计算单位。*/
	@IField(name="priceRange",column="price_range_")
	protected String  priceRange; 		/*价格范围*/
	@IField(name="homeMediaId",column="home_media_id_")
	protected String  homeMediaId; 		/*户型图 ID*/
	@IField(name="cityId",column="city_id_")
	protected String  cityId; 		/*所属城市ID(分类)*/
	@IField(name="cityName",column="city_name_")
	protected String  cityName; 		/*所属城市名称(分类)*/
	@IField(name="areaId",column="area_id_")
	protected String  areaId; 		/*所属区域ID(分类)*/
	@IField(name="areaName",column="area_name_")
	protected String  areaName; 		/*所属区域名称(分类)*/
	@IField(name="styleId",column="style_id_")
	protected String  styleId; 		/*所属风格(分类)*/
	@IField(name="subStyleId",column="sub_style_id_")
	protected String  subStyleId; 		/*所属子风格(分类)*/
	@IField(name="storeId",column="store_id_")
	protected String  storeId; 		/*所属门店ID*/
	@IField(name="designerId",column="designer_id_")
	protected String  designerId; 		/*所属设计师 ID*/
	
	@Override
	public void setId(String homeId) {
		this.homeId = homeId;
	}
	@Override
	public String getId() {
		return homeId;
	}	
	public void setHomeId(String homeId) 
	{
		this.homeId = homeId;
	}
	/**
	 * 返回 家居产品 ID
	 * @return
	 */
	public String getHomeId() 
	{
		return this.homeId;
	}
	public void setHomeType(String homeType) 
	{
		this.homeType = homeType;
	}
	/**
	 * 返回 家居产品子类型。whole=全套户型；scene=场景
	 * @return
	 */
	public String getHomeType() 
	{
		return this.homeType;
	}
	public void setPrice(Double price) 
	{
		this.price = price;
	}
	/**
	 * 返回 价格
	 * @return
	 */
	public Double getPrice() 
	{
		return this.price;
	}
	public void setArea(Double area) 
	{
		this.area = area;
	}
	/**
	 * 返回 面积
	 * @return
	 */
	public Double getArea() 
	{
		return this.area;
	}
	public void setAreaRange(String areaRange) 
	{
		this.areaRange = areaRange;
	}
	/**
	 * 返回 面积范围
	 * @return
	 */
	public String getAreaRange() 
	{
		return this.areaRange;
	}
	public void setItemCount(Integer itemCount) 
	{
		this.itemCount = itemCount;
	}
	/**
	 * 返回 件数
	 * @return
	 */
	public Integer getItemCount() 
	{
		return this.itemCount;
	}
	public void setUnit(String unit) 
	{
		this.unit = unit;
	}
	/**
	 * 返回 计算单位。
	 * @return
	 */
	public String getUnit() 
	{
		return this.unit;
	}
	public void setPriceRange(String priceRange) 
	{
		this.priceRange = priceRange;
	}
	/**
	 * 返回 价格范围
	 * @return
	 */
	public String getPriceRange() 
	{
		return this.priceRange;
	}
	public void setHomeMediaId(String homeMediaId) 
	{
		this.homeMediaId = homeMediaId;
	}
	/**
	 * 返回 户型图 ID
	 * @return
	 */
	public String getHomeMediaId() 
	{
		return this.homeMediaId;
	}
	public void setCityId(String cityId) 
	{
		this.cityId = cityId;
	}
	/**
	 * 返回 所属城市ID(分类)
	 * @return
	 */
	public String getCityId() 
	{
		return this.cityId;
	}
	public void setCityName(String cityName) 
	{
		this.cityName = cityName;
	}
	/**
	 * 返回 所属城市名称(分类)
	 * @return
	 */
	public String getCityName() 
	{
		return this.cityName;
	}
	public void setAreaId(String areaId) 
	{
		this.areaId = areaId;
	}
	/**
	 * 返回 所属区域ID(分类)
	 * @return
	 */
	public String getAreaId() 
	{
		return this.areaId;
	}
	public void setAreaName(String areaName) 
	{
		this.areaName = areaName;
	}
	/**
	 * 返回 所属区域名称(分类)
	 * @return
	 */
	public String getAreaName() 
	{
		return this.areaName;
	}
	public void setStyleId(String styleId) 
	{
		this.styleId = styleId;
	}
	/**
	 * 返回 所属风格(分类)
	 * @return
	 */
	public String getStyleId() 
	{
		return this.styleId;
	}
	public void setSubStyleId(String subStyleId) 
	{
		this.subStyleId = subStyleId;
	}
	/**
	 * 返回 所属子风格(分类)
	 * @return
	 */
	public String getSubStyleId() 
	{
		return this.subStyleId;
	}
	public void setStoreId(String storeId) 
	{
		this.storeId = storeId;
	}
	/**
	 * 返回 所属门店ID
	 * @return
	 */
	public String getStoreId() 
	{
		return this.storeId;
	}
	public void setDesignerId(String designerId) 
	{
		this.designerId = designerId;
	}
	/**
	 * 返回 所属设计师 ID
	 * @return
	 */
	public String getDesignerId() 
	{
		return this.designerId;
	}
	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() 
	{
		return new ToStringBuilder(this)
		.append("homeId", this.homeId) 
		.append("homeType", this.homeType) 
		.append("price", this.price) 
		.append("area", this.area) 
		.append("areaRange", this.areaRange) 
		.append("itemCount", this.itemCount) 
		.append("unit", this.unit) 
		.append("priceRange", this.priceRange) 
		.append("homeMediaId", this.homeMediaId) 
		.append("cityId", this.cityId) 
		.append("cityName", this.cityName) 
		.append("areaId", this.areaId) 
		.append("areaName", this.areaName) 
		.append("styleId", this.styleId) 
		.append("subStyleId", this.subStyleId) 
		.append("storeId", this.storeId) 
		.append("designerId", this.designerId) 
		.toString();
	}
}